package com.param_validate_demo.enums;

public enum GenderEnum implements MyEnum{
    MALE("male","男"),FEMALE("female","女");
    private String code;
    private String desc;

    GenderEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
